<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<pre>
from time import sleep


class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def speak(self):
        print("我是%s，今年%s岁" % (self.name, self.age))


class Student(Person):
    def __init__(self, name, age, school, id):
        super(Student, self).__init__(name, age)
        self.school = school
        self.my_id = id

    def speak(self):
        print("我是%s，今年%s岁，我在%s上学，我的学号是%d。" % (self.name, self.age, self.school, self.my_id))

    def run(self, v, times):
        return v*times


class CollegeStudent(Student):
    def __init__(self, name, age, school, id, language):
        super(CollegeStudent, self).__init__(name, age, school, id)
        self.language = language

    def speak(self):
        print("我是%s，今年%s岁，我在%s上学，我的学号是%d，我会说%s。" % (self.name, self.age, self.school, self.my_id, self.language))

    def coding(self):
        print("I am coding", end=" ")
        for i in range(10):
            print(".", end="")
            sleep(1)


x = CollegeStudent('钟离', 2000, '璃月', 20001, '中文')
x.speak()
print(x.run(9.83, 10))
x.coding()

</pre>
</body>
</html>